package com.cxc.myweb.demo.model.dao;

import java.util.List;
import java.util.Map;

import com.cxc.myweb.demo.model.dto.User;

public interface UserMapper {
	
	public int counts();
	
    User selectByPrimaryKey(Integer id);
    List<User> selectSelective(User record);

    int insert(User record);
    int insertSelective(User record);
    int insertBatch(List<User> userList);
        
    int updateByPrimaryKeySelective(User record);
    int updateByPrimaryKey(User record);
    
	int deleteByPrimaryKey(Integer id);
	int deleteSelective(User record);
	
    List<User> selectUserLogs(User record);
    List<User> selectUsersRoles();	
	   
    void callProc1(Map paras);    
    List<User> callProc2(Map paras);   
    	
}